#coding:utf-8
#file:PyGTKLabel.py

import pygtk
pygtk.require('2.0')
import gtk

class MyWindow:
    def __init__(self, title, width, height):
        self.window = gtk.Window()
        self.window.set_title(title)
        self.window.set_default_size(width, height)
        self.window.show()

    def main(self):
        gtk.main()

window = MyWindow('PyGTK', 500, 320)
window.main()
